'use strict';

/**
 * Module dependencies.
 */
var mongoose = require('mongoose');

var ContentSchema = new mongoose.Schema({
    name: String,
    enable: Boolean,
    duration: Number,
    asset : {type: mongoose.Schema.ObjectId, ref: 'AssetSchema'}
});

module.exports = mongoose.model('Content', ContentSchema);
